﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace OrderManager
{
    public partial class ManageMenu : Form
    {
        public ManageMenu()
        {
            InitializeComponent();
        }

        private void CloseClicked(object sender, EventArgs e)
        {
            this.Close();

            return;
        }

        private void AddFoodClicked(object sender, EventArgs e)
        {
            AddNewFood window = new AddNewFood();
            window.Activate();
            window.ShowDialog();

            return;
        }

        private void ModifyFoodClicked(object sender, EventArgs e)
        {
            ModifyFoodData window = new ModifyFoodData();
            window.Activate();
            window.ShowDialog();

            return;
        }

        private void DeleteFoodClicked(object sender, EventArgs e)
        {
            DeleteFoodDialog window = new DeleteFoodDialog();
            window.Activate();
            window.ShowDialog();

            return;
        }
    }
}
